Skip to content

feat: add missing function tags and new util APIs (v2.1.1)#17

Merged
asn44nb merged 2 commits into
mainfrom
feat/v2.1.1
May 24, 2026
Merged

feat: add missing function tags and new util APIs (v2.1.1)#17
asn44nb merged 2 commits into
mainfrom
feat/v2.1.1

Conversation

@asn44nb
Copy link
Copy Markdown
Collaborator

@asn44nb asn44nb commented May 24, 2026

Changes in v2.1.1

Bug fixes — missing function tags

Several public API functions had no corresponding function tag, making them undiscoverable for packs that use tag-based dependency wiring:

  • #mce:api/run/at — was missing
  • #mce:api/util/announce — was missing
  • #mce:api/util/announce_times — was missing
  • #mce:api/util/version — was missing
  • #mce:api/multi/run — was missing

All tags are added for both tags/function/ (1.21+) and tags/functions/ (legacy) directories.

New API functions

  • mce:api/util/log_clear — clears mce:log entries (audit log reset)
  • mce:api/util/error_clear — resets mce:error Last/Code/Count and the internal error scoreboard counter

Version bump

  • Version string: 2.0.12.1.1
  • LanternLoad score: 20001002001100
  • pack.mcmeta description updated
  • mce:api/util/help updated with new entries

asn44nb added 2 commits May 24, 2026 15:41
- Add function tags for api/run/at, api/util/announce, announce_times, version, multi/run
- Add mce:api/util/log_clear — clears mce:log entries
- Add mce:api/util/error_clear — resets mce:error state and counter
- Bump version to 2.1.1 (LanternLoad score: 2001100)
- Update help output with new API entries
- Add mce:api/log/write — structured entries {n, level, msg}, 64-entry cap
- Add mce:api/log/show  — macro-free iterate + level-colored tellraw
- Add mce:api/log/clear — clears entries and resets counter
- Add mce.log scoreboard objective (tracks #log.n, #log.size)
- Deprecate mce:api/util/log and util/log_clear (backwards compat wrappers kept)
- Update mce:api/util/help with new log API entries
@asn44nb asn44nb merged commit 7cf8e92 into main May 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant